
package org.springxrsk.modules.classes.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springxrsk.core.tenant.mp.TenantEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 课表 实体类
 *
 *  @author
 * @since 2024-06-23
 */
@Data
@TableName("tb_qy_classes_lessons")
@Schema(description = "QyClassesLessons对象")
@EqualsAndHashCode(callSuper = true)
public class QyClassesLessonsEntity extends TenantEntity {

	/**
	 * 课表序号
	 */
	@Schema(description = "课表序号")
	private Long lessonNo;
	/**
	 * 班级id
	 */
	@Schema(description = "班级id")
	private Long classesId;
	/**
	 * 教室id
	 */
	@Schema(description = "教室id")
	private Long classesRoomId;
	/**
	 * 老师编号
	 */
	@Schema(description = "老师编号")
	private String teacherIds;
	/**
	 * 开启签名
	 */
	@Schema(description = "开启签名")
	private String signUseCount;
	/**
	 * 签名数量
	 */
	@Schema(description = "签名数量")
	private String signCount;
	/**
	 * 课表重复id
	 */
	@Schema(description = "课表重复id")
	private Integer lessonRecurrenceId;
	/**
	 * 课堂开始时间
	 */
	@Schema(description = "开始时间")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date startTime;
	/**
	 * 课堂结束时间
	 */
	@Schema(description = "结束时间")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date endTime;

	/**
	 * 课堂开始时间
	 */
	@Schema(description = "课堂开始时间")
	private String subStartTime;
	/**
	 * 课堂结束时间
	 */
	@Schema(description = "课堂结束时间")
	private String subEndTime;

	/**
	 * 重复类型
	 */
	@Schema(description = "重复类型")
	private Integer repetitive;

	/**
	 * 频率
	 */
	@Schema(description = "频率")
	private Integer rate;



	/**
	 * 课时数
	 */
	@Schema(description = "课时数")
	private Integer classHour;

	/**
	 * 容纳学生数量
	 */
	@Schema(description = "容纳学生数量")
	private String studentCount;
	/**
	 * 申请状态
	 */
	@Schema(description = "申请状态")
	private String appointmentStatus;

}
